package com.glasses.manage.auth.service;

import com.glasses.manage.auth.entity.User;
import com.glasses.manage.auth.entity.UserAddress;
import com.glasses.manage.core.biz.BaseBiz;

import java.util.List;

/**
 * Created by yy on 2017/10/12.
 */
public interface UserService extends BaseBiz<User> {
    /**
     * 查询所有用户
     *
     * @param userName
     * @param telphone
     * @return
     */
    List<User> getUserList(String userName, String telphone);

    /**
     * 查询用户的地址信息
     *
     * @param userName
     * @return
     */
    List<UserAddress> getUserAddressList(String userName);
}
